home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-08-29 | 5.0 KB | [ TEXT/KAHL]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
You can browse this item here: Starter Main.c
Confidence Program Detection Match Type Support
66%
dexvert
Compact Compressed (Unix) (archive/compact)
ext
Supported
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, Sun Aug 29 22:56:08 1993, modified Sun Aug 29 22:56:08 1993, creator Think C, type ASCII, 4538 bytes "Starter Main.c" , at 0x123a 364 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ KAHL]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 0e 53 74 61 72 74 65 | 72 20 4d 61 69 6e 2e 63 |..Starte|r Main.c| |00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......| |00000050| 00 00 00 00 00 11 ba 00 | 00 01 6c a8 a7 1c c8 a8 |........|..l.....| |00000060| a7 1c c8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 71 d7 00 00 |........|....q...| |00000080| 23 69 6e 63 6c 75 64 65 | 20 22 46 44 20 49 6e 74 |#include| "FD Int| |00000090| 65 72 66 61 63 65 2e 68 | 22 0d 0d 2f 2a 2a 2a 2a |erface.h|"../****| |000000a0| 2a 0d 20 2a 20 54 68 69 | 73 20 69 73 20 74 68 65 |*. * Thi|s is the| |000000b0| 20 6d 6f 64 75 6c 65 27 | 73 20 6d 61 69 6e 20 65 | module'|s main e| |000000c0| 6e 74 72 79 70 6f 69 6e | 74 2e 0d 20 2a 2a 2a 2a |ntrypoin|t.. ****| |000000d0| 2a 2f 0d 42 6f 6f 6c 65 | 61 6e 20 4d 6f 64 75 6c |*/.Boole|an Modul| |000000e0| 65 4d 61 69 6e 28 20 73 | 68 6f 72 74 20 6d 65 73 |eMain( s|hort mes| |000000f0| 73 61 67 65 2c 20 4d 6f | 64 75 6c 65 44 61 74 61 |sage, Mo|duleData| |00000100| 52 65 63 20 2a 6d 6f 64 | 75 6c 65 44 61 74 61 29 |Rec *mod|uleData)| |00000110| 0d 7b 0d 09 42 6f 6f 6c | 65 61 6e 09 72 65 74 75 |.{..Bool|ean.retu| |00000120| 72 6e 56 61 6c 75 65 20 | 3d 20 54 52 55 45 3b 0d |rnValue |= TRUE;.| |00000130| 09 0d 09 73 77 69 74 63 | 68 20 28 6d 65 73 73 61 |...switc|h (messa| |00000140| 67 65 29 0d 09 7b 0d 09 | 09 63 61 73 65 20 65 53 |ge)..{..|.case eS| |00000150| 74 61 72 74 75 70 09 3a | 0d 09 09 09 09 09 09 09 |tartup.:|........| |00000160| 09 09 2f 2f 20 54 68 65 | 20 61 70 70 6c 69 63 61 |..// The| applica| |00000170| 74 69 6f 6e 20 6a 75 73 | 74 20 73 74 61 72 74 65 |tion jus|t starte| |00000180| 64 2e 20 20 53 65 74 20 | 75 70 20 61 6e 79 20 63 |d. Set |up any c| |00000190| 75 73 74 6f 6d 20 0d 09 | 09 09 09 09 09 09 09 09 |ustom ..|........| |000001a0| 2f 2f 20 73 74 75 66 66 | 20 79 6f 75 20 77 61 6e |// stuff| you wan| |000001b0| 74 2e 0d 09 09 09 53 65 | 74 53 74 61 74 75 73 50 |t.....Se|tStatusP| |000001c0| 61 72 61 6d 73 28 20 54 | 52 55 45 2c 20 54 52 55 |arams( T|RUE, TRU| |000001d0| 45 2c 20 22 5c 70 4d 6f | 6f 66 21 22 29 3b 0d 09 |E, "\pMo|of!");..| |000001e0| 09 09 72 65 74 75 72 6e | 56 61 6c 75 65 20 3d 20 |..return|Value = | |000001f0| 54 52 55 45 3b 09 09 2f | 2f 20 54 52 55 45 20 6d |TRUE;../|/ TRUE m| |00000200| 65 61 6e 73 20 65 76 65 | 72 79 74 68 69 6e 67 20 |eans eve|rything | |00000210| 69 73 20 4f 4b 2e 20 20 | 49 66 20 79 6f 75 20 72 |is OK. |If you r| |00000220| 65 74 75 72 6e 20 46 41 | 4c 53 45 20 68 65 72 65 |eturn FA|LSE here| |00000230| 2c 20 0d 09 09 09 09 09 | 09 09 09 09 2f 2f 20 79 |, ......|....// y| |00000240| 6f 75 20 77 69 6c 6c 20 | 72 65 63 65 69 76 65 20 |ou will |receive | |00000250| 61 6e 20 65 51 75 69 74 | 74 69 6e 67 20 6d 65 73 |an eQuit|ting mes| |00000260| 73 61 67 65 20 61 6e 64 | 20 46 69 6c 65 20 44 72 |sage and| File Dr| |00000270| 6f 70 70 65 72 20 0d 09 | 09 09 09 09 09 09 09 09 |opper ..|........| |00000280| 2f 2f 20 77 69 6c 6c 20 | 71 75 69 74 2e 20 20 59 |// will |quit. Y| |00000290| 6f 75 20 77 69 6c 6c 20 | 4e 4f 54 20 67 65 74 20 |ou will |NOT get | |000002a0| 61 6e 20 65 44 69 73 70 | 6f 73 65 20 6d 65 73 73 |an eDisp|ose mess| |000002b0| 61 67 65 2e 0d 09 09 09 | 62 72 65 61 6b 3b 0d 09 |age.....|break;..| |000002c0| 09 09 0d 09 09 63 61 73 | 65 20 65 53 46 49 6e 69 |.....cas|e eSFIni| |000002d0| 74 69 61 6c 69 7a 65 09 | 3a 0d 09 09 09 2f 2a 0d |tialize.|:..../*.| |000002e0| 09 09 09 20 2a 20 54 68 | 65 20 53 46 47 65 74 46 |... * Th|e SFGetF| |000002f0| 69 6c 65 20 69 73 20 61 | 62 6f 75 74 20 74 6f 20 |ile is a|bout to | |00000300| 62 65 20 62 72 6f 75 67 | 68 74 20 75 70 20 2d 20 |be broug|ht up - | |00000310| 79 6f 75 20 63 61 6e 20 | 69 6e 73 74 61 6c 6c 20 |you can |install | |00000320| 79 6f 75 72 20 6f 77 6e | 20 61 74 20 74 68 69 73 |your own| at this| |00000330| 20 70 6f 69 6e 74 0d 09 | 09 09 20 2a 20 69 66 20 | point..|.. * if | |00000340| 79 6f 75 20 77 61 6e 74 | 20 74 6f 2e 0d 09 09 09 |you want| to.....| |00000350| 20 2a 20 49 66 20 74 68 | 65 20 75 73 65 72 20 63 | * If th|e user c| |00000360| 68 6f 6f 73 65 73 20 61 | 20 66 69 6c 65 2c 20 79 |hooses a| file, y| |00000370| 6f 75 20 77 69 6c 6c 20 | 72 65 63 65 69 76 65 20 |ou will |receive | |00000380| 6f 6e 65 20 65 61 63 68 | 20 6f 66 20 65 56 61 6c |one each| of eVal| |00000390| 69 64 61 74 65 20 61 6e | 64 20 65 50 72 6f 63 65 |idate an|d eProce| |000003a0| 73 73 46 69 6c 65 0d 09 | 09 09 20 2a 20 6d 65 73 |ssFile..|.. * mes| |000003b0| 73 61 67 65 73 2e 20 20 | 49 66 20 73 2f 68 65 20 |sages. |If s/he | |000003c0| 63 68 6f 6f 73 65 73 20 | 61 20 66 6f 6c 64 65 72 |chooses |a folder| |000003d0| 2c 20 79 6f 75 20 77 69 | 6c 6c 20 72 65 63 65 69 |, you wi|ll recei| |000003e0| 76 65 20 61 6e 20 65 56 | 61 6c 69 64 61 74 65 20 |ve an eV|alidate | |000003f0| 61 6e 64 20 65 50 72 6f | 63 65 73 73 46 69 6c 65 |and ePro|cessFile| |00000400| 0d 09 09 09 20 2a 20 6d | 65 73 73 61 67 65 20 66 |.... * m|essage f| |00000410| 6f 72 20 65 61 63 68 20 | 66 69 6c 65 20 69 6e 20 |or each |file in | |00000420| 74 68 65 20 66 6f 6c 64 | 65 72 2c 20 61 6e 64 20 |the fold|er, and | |00000430| 65 61 63 68 20 66 69 6c | 65 20 69 6e 20 65 61 63 |each fil|e in eac| |00000440| 68 20 66 6f 6c 64 65 72 | 20 6f 6e 20 64 6f 77 6e |h folder| on down| |00000450| 20 74 68 65 20 6c 69 6e | 65 2e 0d 09 09 09 20 2a | the lin|e..... *| |00000460| 20 4e 4f 54 45 3a 20 79 | 6f 75 20 6f 6e 6c 79 20 | NOTE: y|ou only | |00000470| 67 65 74 20 6f 6e 65 20 | 6f 66 20 74 68 65 73 65 |get one |of these| |00000480| 20 66 6f 72 20 65 61 63 | 68 20 74 69 6d 65 20 74 | for eac|h time t| |00000490| 68 65 20 53 46 47 65 74 | 46 69 6c 65 20 64 69 61 |he SFGet|File dia| |000004a0| 6c 6f 67 20 63 6f 6d 65 | 73 20 75 70 2e 20 20 49 |log come|s up. I| |000004b0| 66 20 0d 09 09 09 20 2a | 20 79 6f 75 20 77 61 6e |f .... *| you wan| |000004c0| 74 20 74 6f 20 69 6e 69 | 74 69 61 6c 69 7a 65 20 |t to ini|tialize | |000004d0| 73 6f 6d 65 74 68 69 6e | 67 20 62 65 66 6f 72 65 |somethin|g before| |000004e0| 20 65 61 63 68 20 66 69 | 6c 65 2c 20 64 6f 20 69 | each fi|le, do i| |000004f0| 74 20 69 6e 20 74 68 65 | 20 65 50 72 6f 63 65 73 |t in the| eProces| |00000500| 73 46 69 6c 65 20 63 61 | 73 65 2e 0d 09 09 09 20 |sFile ca|se..... | |00000510| 2a 2f 0d 09 09 09 0d 09 | 09 09 72 65 74 75 72 6e |*/......|..return| |00000520| 56 61 6c 75 65 20 3d 20 | 54 52 55 45 3b 09 09 2f |Value = |TRUE;../| |00000530| 2f 20 54 52 55 45 20 6d | 65 61 6e 73 20 65 76 65 |/ TRUE m|eans eve| |00000540| 72 79 74 68 69 6e 67 20 | 69 73 20 4f 4b 2e 20 20 |rything |is OK. | |00000550| 49 66 20 79 6f 75 20 72 | 65 74 75 72 6e 20 46 41 |If you r|eturn FA| |00000560| 4c 53 45 20 68 65 72 65 | 2c 20 0d 09 09 09 09 09 |LSE here|, ......| |00000570| 09 09 09 09 2f 2f 20 79 | 6f 75 20 77 69 6c 6c 20 |....// y|ou will | |00000580| 72 65 63 65 69 76 65 20 | 61 6e 20 65 51 75 69 74 |receive |an eQuit| |00000590| 74 69 6e 67 20 6d 65 73 | 73 61 67 65 20 61 6e 64 |ting mes|sage and| |000005a0| 20 46 69 6c 65 20 44 72 | 6f 70 70 65 72 20 0d 09 | File Dr|opper ..| |000005b0| 09 09 09 09 09 09 09 09 | 2f 2f 20 77 69 6c 6c 20 |........|// will | |000005c0| 71 75 69 74 2e 20 20 59 | 6f 75 20 77 69 6c 6c 20 |quit. Y|ou will | |000005d0| 4e 4f 54 20 67 65 74 20 | 61 6e 20 65 44 69 73 70 |NOT get |an eDisp| |000005e0| 6f 73 65 20 6d 65 73 73 | 61 67 65 2e 0d 09 09 09 |ose mess|age.....| |000005f0| 62 72 65 61 6b 3b 0d 09 | 09 09 09 0d 09 09 63 61 |break;..|......ca| |00000600| 73 65 20 65 41 45 49 6e | 69 74 69 61 6c 69 7a 65 |se eAEIn|itialize| |00000610| 09 3a 0d 09 09 09 2f 2f | 20 41 6e 20 27 6f 64 6f |.:....//| An 'odo| |00000620| 63 27 20 41 70 70 6c 65 | 45 76 65 6e 74 20 68 61 |c' Apple|Event ha| |00000630| 73 20 62 65 65 6e 20 72 | 65 63 65 69 76 65 64 20 |s been r|eceived | |00000640| 2d 20 79 6f 75 20 61 72 | 65 20 61 62 6f 75 74 20 |- you ar|e about | |00000650| 74 6f 20 62 65 20 66 6c | 6f 6f 64 65 64 20 77 69 |to be fl|ooded wi| |00000660| 74 68 20 0d 09 09 09 2f | 2f 20 65 56 61 6c 69 64 |th ..../|/ eValid| |00000670| 61 74 65 46 69 6c 65 20 | 61 6e 64 20 65 50 72 6f |ateFile |and ePro| |00000680| 63 65 73 73 46 69 6c 65 | 20 6d 65 73 73 61 67 65 |cessFile| message| |00000690| 73 20 28 61 20 73 65 74 | 20 66 6f 72 20 65 61 63 |s (a set| for eac| |000006a0| 68 20 66 69 6c 65 20 79 | 6f 75 20 6e 65 65 64 20 |h file y|ou need | |000006b0| 74 6f 20 70 72 6f 63 65 | 73 73 29 0d 09 09 09 2f |to proce|ss)..../| |000006c0| 2f 20 4e 4f 54 45 2c 20 | 79 6f 75 20 6f 6e 6c 79 |/ NOTE, |you only| |000006d0| 20 67 65 74 20 6f 6e 65 | 20 65 41 45 49 6e 69 74 | get one| eAEInit| |000006e0| 69 61 6c 69 7a 65 20 66 | 6f 72 20 74 68 65 20 77 |ialize f|or the w| |000006f0| 68 6f 6c 65 20 62 61 74 | 63 68 20 6f 66 20 66 69 |hole bat|ch of fi| |00000700| 6c 65 73 2e 20 20 49 66 | 20 79 6f 75 20 77 61 6e |les. If| you wan| |00000710| 74 20 74 6f 0d 09 09 09 | 2f 2f 20 69 6e 69 74 69 |t to....|// initi| |00000720| 61 6c 69 7a 65 20 73 6f | 6d 65 74 68 69 6e 67 20 |alize so|mething | |00000730| 62 65 66 6f 72 65 20 65 | 61 63 68 20 66 69 6c 65 |before e|ach file| |00000740| 2c 20 64 6f 20 69 74 20 | 69 6e 20 74 68 65 20 65 |, do it |in the e| |00000750| 50 72 6f 63 65 73 73 46 | 69 6c 65 20 63 61 73 65 |ProcessF|ile case| |00000760| 2e 0d 09 09 09 0d 09 09 | 09 72 65 74 75 72 6e 56 |........|.returnV| |00000770| 61 6c 75 65 20 3d 20 54 | 52 55 45 3b 09 09 2f 2f |alue = T|RUE;..//| |00000780| 20 54 52 55 45 20 6d 65 | 61 6e 73 20 65 76 65 72 | TRUE me|ans ever| |00000790| 79 74 68 69 6e 67 20 69 | 73 20 4f 4b 2e 20 20 49 |ything i|s OK. I| |000007a0| 66 20 79 6f 75 20 72 65 | 74 75 72 6e 20 46 41 4c |f you re|turn FAL| |000007b0| 53 45 20 68 65 72 65 2c | 20 0d 09 09 09 09 09 09 |SE here,| .......| |000007c0| 09 09 09 2f 2f 20 79 6f | 75 20 77 69 6c 6c 20 72 |...// yo|u will r| |000007d0| 65 63 65 69 76 65 20 61 | 6e 20 65 51 75 69 74 74 |eceive a|n eQuitt| |000007e0| 69 6e 67 20 6d 65 73 73 | 61 67 65 20 61 6e 64 20 |ing mess|age and | |000007f0| 46 69 6c 65 20 44 72 6f | 70 70 65 72 20 0d 09 09 |File Dro|pper ...| |00000800| 09 09 09 09 09 09 09 2f | 2f 20 77 69 6c 6c 20 71 |......./|/ will q| |00000810| 75 69 74 2e 20 20 59 6f | 75 20 77 69 6c 6c 20 4e |uit. Yo|u will N| |00000820| 4f 54 20 67 65 74 20 61 | 6e 20 65 44 69 73 70 6f |OT get a|n eDispo| |00000830| 73 65 20 6d 65 73 73 61 | 67 65 2e 0d 09 09 09 62 |se messa|ge.....b| |00000840| 72 65 61 6b 3b 0d 09 09 | 09 20 0d 09 09 63 61 73 |reak;...|. ...cas| |00000850| 65 20 65 56 61 6c 69 64 | 61 74 65 46 69 6c 65 09 |e eValid|ateFile.| |00000860| 3a 0d 09 09 09 53 65 74 | 53 74 61 74 75 73 50 61 |:....Set|StatusPa| |00000870| 72 61 6d 73 28 20 54 52 | 55 45 2c 20 54 52 55 45 |rams( TR|UE, TRUE| |00000880| 2c 20 4e 55 4c 4c 29 3b | 0d 09 09 09 09 09 09 09 |, NULL);|........| |00000890| 09 09 2f 2f 20 76 61 6c | 69 64 61 74 65 20 74 68 |..// val|idate th| |000008a0| 65 20 66 69 6c 65 20 68 | 65 72 65 0d 09 09 09 72 |e file h|ere....r| |000008b0| 65 74 75 72 6e 56 61 6c | 75 65 20 3d 20 54 52 55 |eturnVal|ue = TRU| |000008c0| 45 3b 09 09 2f 2f 20 54 | 52 55 45 20 6d 65 61 6e |E;..// T|RUE mean| |000008d0| 73 20 74 68 65 46 69 6c | 65 20 69 6e 20 6d 6f 64 |s theFil|e in mod| |000008e0| 75 6c 65 44 61 74 61 20 | 69 73 20 6f 6e 65 20 74 |uleData |is one t| |000008f0| 68 61 74 0d 09 09 09 09 | 09 09 09 09 09 2f 2f 20 |hat.....|.....// | |00000900| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 70 72 6f 63 |you want| to proc| |00000910| 65 73 73 0d 09 09 09 62 | 72 65 61 6b 3b 0d 09 09 |ess....b|reak;...| |00000920| 09 0d 09 09 63 61 73 65 | 20 65 50 72 6f 63 65 73 |....case| eProces| |00000930| 73 46 69 6c 65 09 3a 0d | 09 09 09 09 09 09 09 09 |sFile.:.|........| |00000940| 09 2f 2f 20 44 6f 20 79 | 6f 75 72 20 73 74 75 66 |.// Do y|our stuf| |00000950| 66 20 2d 09 74 68 65 46 | 69 6c 65 20 69 6e 20 6d |f -.theF|ile in m| |00000960| 6f 64 75 6c 65 44 61 74 | 61 20 69 73 20 74 68 65 |oduleDat|a is the| |00000970| 20 66 69 6c 65 20 0d 09 | 09 09 09 09 09 09 09 09 | file ..|........| |00000980| 2f 2f 09 09 09 09 09 79 | 6f 75 20 6e 65 65 64 20 |//.....y|ou need | |00000990| 74 6f 20 70 72 6f 63 65 | 73 73 0d 09 09 09 09 09 |to proce|ss......| |000009a0| 09 09 09 09 2f 2f 20 48 | 65 72 65 2c 20 49 20 73 |....// H|ere, I s| |000009b0| 69 6d 70 6c 79 20 61 6d | 20 73 68 6f 77 69 6e 67 |imply am| showing| |000009c0| 20 6f 66 66 20 74 68 65 | 20 70 72 6f 67 72 65 73 | off the| progres| |000009d0| 73 20 62 61 72 20 73 74 | 75 66 66 2e 0d 09 09 09 |s bar st|uff.....| |000009e0| 7b 0d 09 09 09 09 73 68 | 6f 72 74 09 69 3b 0d 09 |{.....sh|ort.i;..| |000009f0| 09 09 09 0d 09 09 09 09 | 43 68 61 6e 67 65 53 74 |........|ChangeSt| |00000a00| 61 74 75 73 4d 65 73 73 | 61 67 65 28 20 6d 6f 64 |atusMess|age( mod| |00000a10| 75 6c 65 44 61 74 61 2d | 3e 74 68 65 46 69 6c 65 |uleData-|>theFile| |00000a20| 2d 3e 6e 61 6d 65 29 3b | 0d 09 09 09 09 66 6f 72 |->name);|.....for| |00000a30| 20 28 20 69 3d 30 3b 20 | 69 20 3c 3d 20 35 30 3b | ( i=0; |i <= 50;| |00000a40| 20 69 2b 2b 29 20 53 65 | 74 53 74 61 74 75 73 50 | i++) Se|tStatusP| |00000a50| 65 72 63 65 6e 74 61 67 | 65 28 20 69 29 3b 09 0d |ercentag|e( i);..| |00000a60| 09 09 09 09 0d 09 09 09 | 09 43 68 61 6e 67 65 53 |........|.ChangeS| |00000a70| 74 61 74 75 73 4d 65 73 | 73 61 67 65 28 20 22 5c |tatusMes|sage( "\| |00000a80| 70 50 72 6f 63 65 73 73 | 69 6e 67 20 70 68 61 73 |pProcess|ing phas| |00000a90| 65 20 32 22 29 3b 0d 09 | 09 09 09 66 6f 72 20 28 |e 2");..|...for (| |00000aa0| 20 3b 20 69 20 3e 3d 20 | 32 35 3b 20 69 2d 2d 29 | ; i >= |25; i--)| |00000ab0| 20 53 65 74 53 74 61 74 | 75 73 50 65 72 63 65 6e | SetStat|usPercen| |00000ac0| 74 61 67 65 28 20 69 29 | 3b 09 0d 09 09 09 09 0d |tage( i)|;.......| |00000ad0| 09 09 09 09 43 68 61 6e | 67 65 53 74 61 74 75 73 |....Chan|geStatus| |00000ae0| 4d 65 73 73 61 67 65 28 | 20 22 5c 70 46 69 6e 69 |Message(| "\pFini| |00000af0| 73 68 69 6e 67 20 75 70 | 22 29 3b 0d 09 09 09 09 |shing up|");.....| |00000b00| 66 6f 72 20 28 20 3b 20 | 69 20 3c 3d 20 31 30 30 |for ( ; |i <= 100| |00000b10| 3b 20 69 2b 2b 29 20 53 | 65 74 53 74 61 74 75 73 |; i++) S|etStatus| |00000b20| 50 65 72 63 65 6e 74 61 | 67 65 28 20 69 29 3b 09 |Percenta|ge( i);.| |00000b30| 0d 09 09 09 7d 0d 09 09 | 09 0d 09 09 09 72 65 74 |....}...|.....ret| |00000b40| 75 72 6e 56 61 6c 75 65 | 20 3d 20 54 52 55 45 3b |urnValue| = TRUE;| |00000b50| 09 09 2f 2f 20 72 65 74 | 75 72 6e 20 54 52 55 45 |..// ret|urn TRUE| |00000b60| 20 74 6f 20 63 6f 6e 74 | 69 6e 75 65 20 70 72 6f | to cont|inue pro| |00000b70| 63 65 73 73 69 6e 67 20 | 61 6e 79 20 72 65 6d 61 |cessing |any rema| |00000b80| 69 6e 69 6e 67 20 66 69 | 6c 65 73 2c 0d 09 09 09 |ining fi|les,....| |00000b90| 09 09 09 09 09 09 2f 2f | 20 6f 72 20 46 41 4c 53 |......//| or FALS| |00000ba0| 45 20 74 6f 20 73 74 6f | 70 20 70 72 65 6d 61 74 |E to sto|p premat| |00000bb0| 75 72 65 6c 79 0d 09 09 | 09 62 72 65 61 6b 3b 0d |urely...|.break;.| |00000bc0| 09 09 0d 09 09 63 61 73 | 65 20 65 55 73 65 72 43 |.....cas|e eUserC| |00000bd0| 61 6e 63 65 6c 6c 65 64 | 09 3a 0d 09 09 09 09 09 |ancelled|.:......| |00000be0| 09 09 09 09 2f 2f 20 54 | 68 65 20 75 73 65 72 20 |....// T|he user | |00000bf0| 63 6c 69 63 6b 65 64 20 | 43 61 6e 63 65 6c 20 69 |clicked |Cancel i| |00000c00| 6e 20 74 68 65 20 73 61 | 74 61 74 75 73 20 64 69 |n the sa|tatus di| |00000c10| 61 6c 6f 67 2e 20 20 53 | 69 6e 63 65 20 46 69 6c |alog. S|ince Fil| |00000c20| 65 0d 09 09 09 09 09 09 | 09 09 09 2f 2f 20 44 72 |e.......|...// Dr| |00000c30| 6f 70 70 65 72 20 68 61 | 6e 64 6c 65 73 20 74 68 |opper ha|ndles th| |00000c40| 65 20 73 74 61 74 75 73 | 20 64 69 61 6c 6f 67 20 |e status| dialog | |00000c50| 77 68 65 6e 65 76 65 72 | 20 79 6f 75 20 63 61 6c |whenever| you cal| |00000c60| 6c 20 0d 09 09 09 09 09 | 09 09 09 09 2f 2f 20 53 |l ......|....// S| |00000c70| 65 74 53 74 61 74 75 73 | 50 65 72 63 65 6e 74 61 |etStatus|Percenta| |00000c80| 67 65 2c 20 79 6f 75 20 | 77 69 6c 6c 20 67 65 74 |ge, you |will get| |00000c90| 20 74 68 69 73 20 6d 65 | 73 73 61 67 65 20 6f 6e | this me|ssage on| |00000ca0| 6c 79 20 64 75 72 69 6e | 67 0d 09 09 09 09 09 09 |ly durin|g.......| |00000cb0| 09 09 09 2f 2f 20 61 20 | 63 61 6c 6c 20 74 6f 20 |...// a |call to | |00000cc0| 53 65 74 53 74 61 74 75 | 73 50 65 72 63 65 6e 74 |SetStatu|sPercent| |00000cd0| 61 67 65 2e 0d 09 09 09 | 09 09 09 09 09 09 2f 2f |age.....|......//| |00000ce0| 20 6d 6f 64 75 6c 65 44 | 61 74 61 2d 3e 74 68 65 | moduleD|ata->the| |00000cf0| 46 69 6c 65 20 69 73 20 | 74 68 65 20 66 69 6c 65 |File is |the file| |00000d00| 20 74 68 61 74 20 77 61 | 73 20 62 65 69 6e 67 20 | that wa|s being | |00000d10| 70 72 6f 63 65 73 73 65 | 64 0d 09 09 09 09 09 09 |processe|d.......| |00000d20| 09 09 09 2f 2f 20 77 68 | 65 6e 20 74 68 65 20 75 |...// wh|en the u| |00000d30| 73 65 72 20 63 6c 69 63 | 6b 65 64 20 43 61 6e 63 |ser clic|ked Canc| |00000d40| 65 6c 2e 0d 0d 09 09 09 | 72 65 74 75 72 6e 56 61 |el......|returnVa| |00000d50| 6c 75 65 20 3d 20 54 52 | 55 45 3b 09 09 2f 2f 20 |lue = TR|UE;..// | |00000d60| 52 65 74 75 72 6e 20 54 | 52 55 45 20 74 6f 20 72 |Return T|RUE to r| |00000d70| 65 63 65 69 76 65 20 61 | 6e 20 65 44 69 73 70 6f |eceive a|n eDispo| |00000d80| 73 65 2c 20 61 6e 20 65 | 51 75 69 74 74 69 6e 67 |se, an e|Quitting| |00000d90| 20 6d 65 73 73 61 67 65 | 2c 20 61 6e 64 0d 09 09 | message|, and...| |00000da0| 09 09 09 09 09 09 09 2f | 2f 20 68 61 76 65 20 46 |......./|/ have F| |00000db0| 69 6c 65 20 44 72 6f 70 | 70 65 72 20 45 78 69 74 |ile Drop|per Exit| |00000dc0| 54 6f 53 68 65 6c 6c 2e | 0d 09 09 09 09 09 09 09 |ToShell.|........| |00000dd0| 09 09 2f 2f 20 52 65 74 | 75 72 6e 20 46 41 4c 53 |..// Ret|urn FALS| |00000de0| 45 20 74 6f 20 70 72 65 | 74 65 6e 64 20 74 68 65 |E to pre|tend the| |00000df0| 20 43 61 6e 63 65 6c 20 | 64 69 64 6e 27 74 20 67 | Cancel |didn't g| |00000e00| 65 74 20 63 6c 69 63 6b | 65 64 2c 20 61 6c 74 68 |et click|ed, alth| |00000e10| 6f 75 67 68 0d 09 09 09 | 09 09 09 09 09 09 2f 2f |ough....|......//| |00000e20| 20 79 6f 75 20 63 6f 75 | 6c 64 20 6b 65 65 70 20 | you cou|ld keep | |00000e30| 74 72 61 63 6b 20 61 6e | 64 20 69 6d 6d 65 64 69 |track an|d immedi| |00000e40| 61 74 65 6c 79 20 72 65 | 74 75 72 6e 20 46 41 4c |ately re|turn FAL| |00000e50| 53 45 20 66 72 6f 6d 20 | 74 68 65 20 0d 09 09 09 |SE from |the ....| |00000e60| 09 09 09 09 09 09 2f 2f | 20 65 50 72 6f 63 65 73 |......//| eProces| |00000e70| 73 46 69 6c 65 20 63 61 | 73 65 2e 0d 09 09 09 62 |sFile ca|se.....b| |00000e80| 72 65 61 6b 3b 0d 09 09 | 09 0d 09 09 63 61 73 65 |reak;...|....case| |00000e90| 20 65 44 69 73 70 6f 73 | 65 09 09 3a 0d 09 09 09 | eDispos|e..:....| |00000ea0| 09 09 09 09 09 09 2f 2f | 20 49 66 20 79 6f 75 20 |......//| If you | |00000eb0| 61 6c 6c 6f 63 61 74 65 | 64 20 61 6e 79 20 73 74 |allocate|d any st| |00000ec0| 6f 72 61 67 65 20 69 6e | 20 65 53 46 49 6e 69 74 |orage in| eSFInit| |00000ed0| 69 61 6c 69 7a 65 20 6f | 72 20 0d 09 09 09 09 09 |ialize o|r ......| |00000ee0| 09 09 09 09 2f 2f 20 65 | 41 45 49 6e 69 74 69 61 |....// e|AEInitia| |00000ef0| 6c 69 7a 65 2c 20 64 69 | 73 70 6f 73 65 20 6f 66 |lize, di|spose of| |00000f00| 20 69 74 20 68 65 72 65 | 2e 0d 0d 09 09 09 72 65 | it here|......re| |00000f10| 74 75 72 6e 56 61 6c 75 | 65 20 3d 20 46 41 4c 53 |turnValu|e = FALS| |00000f20| 45 3b 09 2f 2f 20 72 65 | 74 75 72 6e 20 46 41 4c |E;.// re|turn FAL| |00000f30| 53 45 20 69 66 20 79 6f | 75 20 77 61 6e 74 20 46 |SE if yo|u want F| |00000f40| 69 6c 65 20 44 72 6f 70 | 70 65 72 20 74 6f 20 73 |ile Drop|per to s| |00000f50| 65 6e 64 20 79 6f 75 20 | 61 6e 20 0d 09 09 09 09 |end you |an .....| |00000f60| 09 09 09 09 09 2f 2f 20 | 65 51 75 69 74 74 69 6e |.....// |eQuittin| |00000f70| 67 20 6d 65 73 73 61 67 | 65 20 61 6e 64 20 71 75 |g messag|e and qu| |00000f80| 69 74 2e 0d 09 09 09 09 | 09 09 09 09 09 2f 2f 20 |it......|.....// | |00000f90| 54 52 55 45 20 6d 65 61 | 6e 73 20 79 6f 75 20 77 |TRUE mea|ns you w| |00000fa0| 61 6e 74 20 74 6f 20 6b | 65 65 70 20 72 75 6e 6e |ant to k|eep runn| |00000fb0| 69 6e 67 0d 09 09 09 62 | 72 65 61 6b 3b 0d 09 09 |ing....b|reak;...| |00000fc0| 0d 09 09 63 61 73 65 20 | 65 44 6f 41 62 6f 75 74 |...case |eDoAbout| |00000fd0| 42 6f 78 09 3a 0d 09 09 | 09 09 09 09 09 09 09 2f |Box.:...|......./| |00000fe0| 2f 20 47 69 76 65 20 79 | 6f 75 72 73 65 6c 66 20 |/ Give y|ourself | |00000ff0| 73 6f 6d 65 20 63 72 65 | 64 69 74 2e 0d 09 09 09 |some cre|dit.....| |00001000| 0d 09 09 09 09 09 09 09 | 09 09 2f 2f 20 72 65 74 |........|..// ret| |00001010| 75 72 6e 56 61 6c 75 65 | 20 69 73 20 69 67 6e 6f |urnValue| is igno| |00001020| 72 65 64 20 66 6f 72 20 | 74 68 69 73 20 6d 65 73 |red for |this mes| |00001030| 73 61 67 65 0d 09 09 09 | 62 72 65 61 6b 3b 0d 09 |sage....|break;..| |00001040| 09 0d 09 09 63 61 73 65 | 20 65 51 75 69 74 74 69 |....case| eQuitti| |00001050| 6e 67 09 09 3a 0d 09 09 | 09 09 09 09 09 09 09 2f |ng..:...|......./| |00001060| 2f 20 54 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |/ The ap|plicatio| |00001070| 6e 20 69 73 20 61 62 6f | 75 74 20 74 6f 20 71 75 |n is abo|ut to qu| |00001080| 69 74 2c 20 73 61 76 65 | 20 61 6e 79 74 68 69 6e |it, save| anythin| |00001090| 67 20 0d 09 09 09 09 09 | 09 09 09 09 2f 2f 20 74 |g ......|....// t| |000010a0| 68 61 74 20 6e 65 65 64 | 73 20 74 6f 20 62 65 20 |hat need|s to be | |000010b0| 73 61 76 65 64 2e 0d 09 | 09 09 0d 09 09 09 09 09 |saved...|........| |000010c0| 09 09 09 09 2f 2f 20 72 | 65 74 75 72 6e 56 61 6c |....// r|eturnVal| |000010d0| 75 65 20 69 73 20 69 67 | 6e 6f 72 65 64 20 66 6f |ue is ig|nored fo| |000010e0| 72 20 74 68 69 73 20 6d | 65 73 73 61 67 65 0d 09 |r this m|essage..| |000010f0| 09 09 62 72 65 61 6b 3b | 0d 09 09 0d 09 09 63 61 |..break;|......ca| |00001100| 73 65 20 65 49 64 6c 65 | 09 09 09 3a 0d 09 09 09 |se eIdle|...:....| |00001110| 09 09 09 09 09 09 2f 2f | 20 59 6f 75 20 63 61 6e |......//| You can| |00001120| 20 64 6f 20 77 68 61 74 | 65 76 65 72 20 79 6f 75 | do what|ever you| |00001130| 20 77 61 6e 74 2c 20 69 | 6e 63 6c 75 64 69 6e 67 | want, i|ncluding| |00001140| 20 6e 6f 74 68 69 6e 67 | 2c 20 68 65 72 65 2e 0d | nothing|, here..| |00001150| 09 09 09 09 09 09 09 09 | 09 2f 2f 20 49 74 27 73 |........|.// It's| |00001160| 20 63 6f 6e 74 69 6e 75 | 6f 75 73 6c 79 20 63 61 | continu|ously ca| |00001170| 6c 6c 65 64 20 77 68 65 | 6e 20 74 68 65 72 65 20 |lled whe|n there | |00001180| 61 72 65 20 6e 6f 20 66 | 69 6c 65 73 20 74 6f 20 |are no f|iles to | |00001190| 70 72 6f 63 65 73 73 0d | 09 09 09 09 09 09 09 09 |process.|........| |000011a0| 09 2f 2f 20 61 6e 64 20 | 46 69 6c 65 20 44 72 6f |.// and |File Dro| |000011b0| 70 70 65 72 20 69 73 20 | 72 65 63 65 69 76 69 6e |pper is |receivin| |000011c0| 67 20 4e 55 4c 4c 20 65 | 76 65 6e 74 73 2e 0d 09 |g NULL e|vents...| |000011d0| 09 09 09 09 09 09 09 09 | 0d 09 09 09 09 09 09 09 |........|........| |000011e0| 09 09 2f 2f 20 72 65 74 | 75 72 6e 56 61 6c 75 65 |..// ret|urnValue| |000011f0| 20 69 73 20 69 67 6e 6f | 72 65 64 20 66 6f 72 20 | is igno|red for | |00001200| 74 68 69 73 20 6d 65 73 | 73 61 67 65 0d 09 09 09 |this mes|sage....| |00001210| 62 72 65 61 6b 3b 0d 09 | 7d 0d 09 0d 09 72 65 74 |break;..|}....ret| |00001220| 75 72 6e 20 72 65 74 75 | 72 6e 56 61 6c 75 65 3b |urn retu|rnValue;| |00001230| 0d 7d 0d 0d 0d 0d 0d 0d | 0d 0d 00 00 00 00 00 00 |.}......|........| |00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001280| 00 00 01 00 00 00 01 26 | 00 00 00 26 00 00 00 46 |.......&|...&...F| |00001290| 4e 56 00 00 30 2d c9 7c | 52 40 3b 40 c9 7c 4e 5e |NV..0-.||R@;@.|N^| |000012a0| 4e 75 45 4e 54 45 52 50 | 55 42 4e 56 00 00 30 2d |NuENTERP|UBNV..0-| |000012b0| 0e 53 74 61 72 74 65 72 | 20 4d 61 69 6e 2e 63 53 |.Starter| Main.cS| |000012c0| 02 00 00 00 50 61 72 74 | 53 49 54 78 00 00 00 00 |....Part|SITx....| |000012d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......| |000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000012f0| 00 00 a9 80 18 83 00 00 | 00 00 00 00 01 6c 20 5f |........|.....l _| |00001300| a0 23 60 04 2f 0c a9 a3 | 3f 07 a9 98 4e ba ff 9c |.#`./...|?...N...| |00001310| 4c df 10 80 4e 5e 20 5f | 5c 4f 4e d0 44 45 4c 45 |L...N^ _|\ON.DELE| |00001320| 54 45 52 45 4e 56 fe ec | 2f 0c 4e ba ff 64 59 4f |TERENV..|/.N..dYO| |00001330| 3f 2e 00 08 a9 ba 28 5f | 20 0c 67 18 20 54 22 6e |?.....(_| .g. T"n| |00001340| 00 0a 3f 3c 00 ff 2f 08 | 2f 09 4e ad 01 0a 2f 0c |..?<../.|/.N.../.| |00001350| a9 a3 60 06 20 6e 00 0a | 42 10 4e ba ff 4e 28 5f |..`. n..|B.N..N(_| |00001360| 4e 5e 20 5f 54 4f 4e d0 | 47 45 54 52 45 53 53 54 |N^ _TON.|GETRESST| |00001370| 4e 56 00 00 30 2d c9 7c | 52 40 3b 40 c9 7c 4e 5e |NV..0-.||R@;@.|N^| |00001380| 00 00 00 08 00 41 00 70 | 02 5b 02 dc 00 00 00 16 |.....A.p|.[......| |00001390| 00 01 00 00 00 5b 00 00 | 00 65 0b 4d 6f 64 75 6c |.....[..|.e.Modul| |000013a0| 65 4d 61 69 6e 00 00 00 | 01 00 00 00 01 26 00 00 |eMain...|.....&..| |000013b0| 00 26 00 00 00 46 00 dc | ae 4c 17 24 00 00 00 1c |.&...F..|.L.$....| |000013c0| 00 46 00 01 52 45 43 54 | 00 00 00 12 4d 50 53 52 |.F..RECT|....MPSR| |000013d0| 00 00 00 1e 00 00 ff ff | 00 00 00 00 00 00 00 00 |........|........| |000013e0| 03 ef ff ff 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........| |000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+